package com.partners.service;

import com.partners.dao.dto.UserRoleOutputDTO;
import com.partners.dao.bo.GroupDO;
import com.partners.model.Paging;

import java.util.List;
import java.util.Map;

/**
 * @author liangyongle
 * @date 2018-12-29
 */
public interface GroupService {

    Map<String,Object> getGroupList(Paging paging,Integer id);


    Integer  editGroup(GroupDO groupDO);

    GroupDO getGroupeDetail(Integer id);

    void joinGroupUser(Integer groupId, Integer userId);

    void leaveGroupUser(Integer id);


    Map<String,Object> getGroupUserList(Integer uid, Integer id);

    void deleteGroup(Integer id);

    Map<String,Object> getUserByGroupId(Paging paging, Integer id);
}
